import { RouteRecordRaw } from 'vue-router';
import Index from '../pages/Index.vue';
import childrenView from './children';
const routes: RouteRecordRaw[] = [
    {
        path: '/',
        components: {
            default: Index,
        },
        children: childrenView
    },
    {
        path: '/login',
        component: () => import('../pages/Login.vue'),
    },
    {
        path: '/index',
        components: {
            default: Index,
        },
    },
    {
        path: '/home',
        component: () => import('../pages/Home.vue'),
    }
]


export default routes;